package com.platform.qujia.service;

import com.platform.qujia.pojo.OilEngine;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OilEngineService {

    /**
     * 油机数据录入
     * */
    int saveOilEngine(OilEngine oilEngine);

    /**
     * 油机数据查询
     * */
    List<OilEngine> selectOilEngineList(OilEngine oilEngine);

    /**
     * 修改油机订单支付状态
     * */
    int updateOilEngine(OilEngine oilEngine);

    OilEngine selectOilEngineById(Long id);

    /**
     * 回调接口更新油机订单支付状态
     * */
    void updateOilEngineCallBack(String orderNo);
}
